package com.tln.sys.menu.dao;

import java.util.List;

import com.tln.sys.menu.model.Menu;
import com.xjj.core.modules.orm.Finder;
import com.xjj.core.modules.orm.Page;

public interface MenuDao{

	public void delete(Long id);

	public List<Menu> findAll();

	public void update(Menu entity);

	public void save(Menu entity);

	public Page<Menu> findByFinder(Finder f, int pageNo, int pageSize);

	public List<Menu> find(String hql);
	
	public Menu getMenu(Long id);

}
